import { defineStore } from 'pinia'

export const loadMaskStore = defineStore('loadMask', {
  state :()=>({
    show :false
  }),
  getters:{
    getCur(state){
      return state.show
    }
  },
  actions:{
    close(){
      this.show = false
    },
    open(){
      this.show = true
    }
  },
})
